package com.nit.lab.dto.system;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class SchoolDTO {

    private Long key;

    private Long schoolId;

    private String schoolCode;

    private String schoolName;

    private Integer schoolGrade;

    private String schoolInfo;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;

    public SchoolDTO() {
    }

    public SchoolDTO(Long key, Long schoolId, String schoolCode, String schoolName, Integer schoolGrade, String schoolInfo, Date gmtCreate) {
        this.key = key;
        this.schoolId = schoolId;
        this.schoolCode = schoolCode;
        this.schoolName = schoolName;
        this.schoolGrade = schoolGrade;
        this.schoolInfo = schoolInfo;
        this.gmtCreate = gmtCreate;
    }

    public Long getKey() {
        return key;
    }

    public void setKey(Long key) {
        this.key = key;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolCode() {
        return schoolCode;
    }

    public void setSchoolCode(String schoolCode) {
        this.schoolCode = schoolCode;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public Integer getSchoolGrade() {
        return schoolGrade;
    }

    public void setSchoolGrade(Integer schoolGrade) {
        this.schoolGrade = schoolGrade;
    }

    public String getSchoolInfo() {
        return schoolInfo;
    }

    public void setSchoolInfo(String schoolInfo) {
        this.schoolInfo = schoolInfo;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
